package oms.dao;

import java.util.Collection;
import java.util.List;
import oms.entities.Item;
import oms.entities.User;


public interface ItemDAO {
	
		public void createItem(Item item);
	
		public void updateItem(Long itemId);

		public Item getItemByName(String name);
		
		public Item getItemByDescription(String description);

		public void deleteItem(Long itemId);

		public List<Item> itemsList();
		
		@SuppressWarnings("rawtypes")
		public Collection getItemsByUserOrder(User user);
}
